home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
Apps
/
Utilities
/
Unix
/
DefaultMgr.app
/
investigateDefaults.gdb
< prev
next >
Wrap
Text File
|
1992-11-12
|
798b
|
35 lines
#-------------------------------------------------------------------------
# investigateDefaults.gdb
#
# Written and Copyright (c) 1992 by Drew Davidson
#
# To be executed with gdb -q -nx <appName> -x investigateDefaults.gdb
#
# Examines all defaults in the application by trapping calls to
# NXRegisterDefaults and _registerDefault (undocumented)
#
# $Log: investigateDefaults.gdb,v $
# Revision 1.1 1992/05/07 04:54:06 drew
# Initial revision
#
#-------------------------------------------------------------------------
break NXRegisterDefaults
commands 1
silent
end
run
commands 1
silent
cont
end
break _registerDefault
commands 2
silent
set $o = (char *)*($sp + 8)
set $d = (char *)*($sp + 12)
set $v = (char *)*($sp + 16)
printf "\"%s\" \"%s\" \"%s\"\n",$o,$d,$v ? $v : ""
cont
end
cont